package com.viroyal.monitorlib.entity;

import org.kymjs.kjframe.database.annotate.Id;
import org.kymjs.kjframe.database.annotate.Table;

/**
 * Created by zy on 2017/12/1.
 */

@Table(name = "upload_table")
public class UploadTable {
    @Id(autoInc = true)
    public int id;
    public String action;
    // 0 入栈， 1 正在上传 2 上传成功， 4 上传失败
    public int status;
    public String local_path;
    public String id_server;
    public long update_time;
    public String pkg_name;

    public UploadTable() {
    }

    public UploadTable(String action, int status, String local_path, String id_server, long update_time, String pkg_name) {
        this.action = action;
        this.status = status;
        this.local_path = local_path;
        this.id_server = id_server;
        this.update_time = update_time;
        this.pkg_name = pkg_name;
    }
}
